package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.RankBean
import io.reactivex.Observable

interface RankContract {


    interface View : IView {
        fun showData(data: RankBean)

    }

    interface Presenter : IPresenter<View> {
        fun getRank(map: MutableMap<String, String>)
    }

    interface Model : IModel {
        fun getRank(map: MutableMap<String, String>): Observable<HttpResult<RankBean>>
    }
}